package com.init.bootframe.system.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * 用户实体类
 * 
 * @author Administrator
 *
 */
public class UserVO extends CommonVO {
	/**
	* 
	*/
	private static final long serialVersionUID = 1L;

	private String userId;//主键Id
	private String name;//名称
	private String account;//帐号
	private String password;//密码
	private String sex;//性别 男性为1,女性为2
	private String sexName;//性别名称
	private String age;//年龄
	private String birthday;//出生年月
	private String cardNo;//身份证号码
	private String email;//电子邮箱
	private String phone;//联系电话
	private String userType;//用户类型,1业主，2其它
	private String userTypeName;//用户类型名称
	private String dataType;//数据类型：1普通，2运营
	private String dataTypeName;//数据类型名称
	private String headImageUrl;//头像地址/微信头像
	private String wechatNickname;//微信昵称
	private String openId;//微信openId
	private String status;//状态：1有效，0无效
	private String remark;//备注
	private String [] userIds = new String[] {};
	private String businessName;//加盟商名称
	private String businessId;//加盟商id
	
	// 组织id
	private String orgId;
	// 组织code
	private String orgCode;
	// 组织name
	private String orgName;
	// 组织parentOrgId
	private String parentOrgId;
	
	//临时字段
	private String userBusiness;//用户加盟商
	private String businessNames;//用户加盟商名称
	private String deviceId;//设备ID
	private String role;//用户角色字符串
	
	private String loginType;// 登录类型
	private List<MenuVO> userMenus = new ArrayList<MenuVO>();// 用户菜单集合
	private List<UserRoleVO> userRoles = new ArrayList<UserRoleVO>();// 用户角色集合
	private List<String> roleIds = new ArrayList<String>();// 用户角色集合

	private String code;//微信公众号请求参数
	
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getBusinessNames() {
		return businessNames;
	}

	public void setBusinessNames(String businessNames) {
		this.businessNames = businessNames;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getUserBusiness() {
		return userBusiness;
	}

	public void setUserBusiness(String userBusiness) {
		this.userBusiness = userBusiness;
	}

	public String[] getUserIds() {
		return userIds;
	}

	public void setUserIds(String[] userIds) {
		this.userIds = userIds;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getParentOrgId() {
		return parentOrgId;
	}

	public void setParentOrgId(String parentOrgId) {
		this.parentOrgId = parentOrgId;
	}

	public String getWechatNickname() {
		return wechatNickname;
	}

	public void setWechatNickname(String wechatNickname) {
		this.wechatNickname = wechatNickname;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getHeadImageUrl() {
		return headImageUrl;
	}

	public void setHeadImageUrl(String headImageUrl) {
		this.headImageUrl = headImageUrl;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}



	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}



	public String getLoginType() {
		return loginType;
	}

	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}

	public List<MenuVO> getUserMenus() {
		return userMenus;
	}

	public void setUserMenus(List<MenuVO> userMenus) {
		this.userMenus = userMenus;
	}

	public List<UserRoleVO> getUserRoles() {
		return userRoles;
	}

	public void setUserRoles(List<UserRoleVO> userRoles) {
		this.userRoles = userRoles;
	}

	public List<String> getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(List<String> roleIds) {
		this.roleIds = roleIds;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getSexName() {
		return sexName;
	}

	public void setSexName(String sexName) {
		this.sexName = sexName;
	}

	public String getUserTypeName() {
		return userTypeName;
	}

	public void setUserTypeName(String userTypeName) {
		this.userTypeName = userTypeName;
	}

	public String getDataTypeName() {
		return dataTypeName;
	}

	public void setDataTypeName(String dataTypeName) {
		this.dataTypeName = dataTypeName;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}
}
